package com.peach.domain;

import java.util.List;

public class ResultVO {

    private boolean success;//0失败 1成功

    private Object data;

    private String msg; //失败详情

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    //有参构造函数


    public ResultVO(boolean success, List data, String msg) {
        this.success = success;
        this.data = data;
        this.msg = msg;
    }

    //重载无参构造函数
    public ResultVO() {
    }
}
